<?php
/***********************************************
	This class would decode the JSON data
	stored in the parameter $scrapedContent.
************************************************/
class JSONDecoder {
	private $decodedJSONData = NULL;
	
	/************************************************************/
	
	function decodeJSONData($scrapedContent) {
		$this->decodedJSONData = json_decode($scrapedContent, TRUE);
		return $this->decodedJSONData;
	}
}
?>